package com.blrs.web.controller.system;

import com.blrs.common.core.controller.BaseController;
import com.blrs.common.core.domain.AjaxResult;
import com.blrs.common.utils.uuid.IdUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * @Author yuxiang.chen
 * @Date 10:10 2023/7/21 10
 **/
@RestController
@RequestMapping("/system/UUID")
public class SysCreateUUIDController extends BaseController {

    /**
     * id生成器
     * @return
     */
    @GetMapping()
    public AjaxResult list()
    {
        return success(IdUtils.fastUUID());
    }

}
